Method for automatically correcting the systematic errors in measurement and manufacturing machines and apparatus for implementing the method

ABSTRACT

A method for automatically correcting the systematic errors in measurement machines and in manufacturing machines, in particular in machine tools, characterised by comprising the following operative steps in succession: identifying the parametric mathematical model of the machine, initially assigning, to the parameters of said parametric mathematical model, numerical values considered to be close to the effective values, to obtain a provisional mathematical model of the machine, effecting a plurality of mutually independent distance measurements within the working field of the machine, determining the differences between the experimentally measured distance values and the corresponding distance values deduced from said provisional mathematical model, to define the corresponding provisional inaccuracy index of the machine, varying said parameters in the sense of improving the predefined provisional inaccuracy index, to hence obtain a new provisional mathematical model of the machine which is closer to its definitive mathematical model, proceeding iteratively with new determinations of the difference between these and the corresponding values deduced from the mathematical model until said parameter variations do not produce any further significant improvement in said inaccuracy index, to hence obtain the definitive mathematical model of the machine, obtaining from said mathematical model the position and possibly orientation errors of the final machine member, and utilizing the error data to execute the correction.

[0001] This invention relates to a method for automatically correcting the systematic errors in measurement and manufacturing machines, which include machine tools and manipulators. The invention also relates to an apparatus for implementing the method.

[0002] Hereinafter, only machine tools will be considered for simplicity, however the same considerations with necessary adaptations are also valid for the other aforesaid machines.

[0003] In a machine tool the machining accuracy is known to depend on the precision of many elements along a path extending from the workpiece being machined and including the foundations, the machine itself and the tool, to form a ring which closes at the surface between the workpiece and the tool.

[0004] In a machine tool, the position of the tool relative to the workpiece is described by a theoretical mathematical model, hereinafter defined as the theoretical model, which provides the position and orientation of the tool in relation to the workpiece, on the basis of the position of the axes, assuming that no errors exist in the guide systems and that there is no structural yielding.

[0005] The theoretical model is complex to a greater or lesser extent, depending on the machine tool.

[0006] In the case of a paraxial machine with three axes, its theoretical model is very simple and consists essentially of three expressions, related to the reading of the respective axes.

X ₁ =C ₁ −Co ₁

X ₂ =C ₂ −Co ₂

X ₃ =C ₃ −Co ₃

[0007] in which X_(i) (i=1,2,3) are the real coordinates of the tool within the prechosen reference system, C_(i) are the coordinates measured along the corresponding axes, and Co_(i) are the zero positions.

[0008] With regard to the orientation of the spindle of a paraxial machine with three axes, the theoretical model provides constant angles.

[0009] On this basis, and focusing the description on a machine tool by way of example, the problem which this invention confronts and solves is to determine a mathematical model for said machine tool which is as close as possible to its real behaviour, to hence also take account of the causes of error, and to correct the consequent errors.

[0010] In a real machine tool the effective position and orientation of the tool in relation to the workpiece are a function of the position of each element relative to the position of the element which precedes it along the ring extending from the workpiece to the tool, so that the relative coordinates between the workpiece and tool and their relative orientation are a function of the reading of the machine axes, and also of many other quantities which take account of the errors present as far as possible.

[0011] In the case of a real machine tool with n axes in which many causes of error are present, with a determined applied tool its particular mathematical model is of type

X′ ₁ =f ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i), . . . V_(l))

X′ ₂ =f ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i), . . . V_(l))

X′ ₃ =f ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i), . . . V_(l))

α′₁ =g ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i), . . . V_(l))

α′₂ =g ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i), . . . V_(l))

α′₃ =g ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i), . . . V_(l))

[0012] in which X_(i) are the coordinates of the tool base in relation to the workpiece, C_(i) are the coordinates along the machine axes, V_(i) are physical variables causing errors, such as temperature and load, α_(i) are the angles of orientation of the tool in relation to the workpiece, and f_(i) and g_(i) are functions of the machine mathematical model deriving from experience.

[0013] The aforestated expressions describe the position and orientation of the base of the final member, which in the case of a milling machine is the spindle cone.

[0014] The position and orientation of the final miller, consisting for example of the tool centre in the case of a spherical miller, can hence be deduced from the dimensions thereof in relation to the final member, i.e. from its three coordinates U,V,W, using the expressions:

X ₁ =X′ ₁ +V*α ₂ −W*α ₃

X ₂ =X′ ₂ +W*α ₃ −U*α ₁

X ₃ =X′ ₃ +U*α ₁ −V*α ₂

α′₁=α₁

α′₂=α₂

α′₃=α₃

[0015] obtaining that the position of the final point is always described by the following relationships which represent the mathematical model

X ₁ =f ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

X ₂ =f ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

X ₃ =f ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

α₁ =g ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

α₂ =g ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

α₃ =g ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

[0016] For a generic machine tool, in which all the parameters of the functions which relate position and orientation to the axis coordinates and to the physical variables have not yet been identified, the mathematical model is of parametric type and will be known as a parametric mathematical model as it also comprises the parameters P_(i), and assumes a form of type

X ₁ =f ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ , V ₂ , . . . V _(i) , . . . V _(l) ,P ₁ ,P ₂ , . . . P _(i) , . . . P _(m) ,U,V,W)

X ₂ =f ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ , V ₂ , . . . V _(i) , . . . V _(l) ,P ₁ ,P ₂ , . . . P _(i) , . . . P _(m) ,U,V,W)

X ₃ =f ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ , V ₂ , . . . V _(i) , . . . V _(l) ,P ₁ ,P ₂ , . . . P _(i) , . . . P _(m) ,U,V,W)

α₁ =g ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ , V ₂ , . . . V _(i) , . . . V _(l) ,P ₁ ,P ₂ , . . . P _(i) , . . . P _(m) ,U,V,W)

α₂ =g ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ , V ₂ , . . . V _(i) , . . . V _(l) ,P ₁ ,P ₂ , . . . P _(i) , . . . P _(m) ,U,V,W)

α₃ =g ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ , V ₂ , . . . V _(i) , . . . V _(l) ,P ₁ ,P ₂ , . . . P _(i) , . . . P _(m) ,U,V,W)

[0017] in which P_(i)(i=1,2,3 . . . n) are m machine parameters, and U,V,W are the tool dimensions.

[0018] When the parameters P_(i) have been identified and hence have assumed precise numerical values, the group of six expressions becomes the mathematical model of the machine tool.

[0019] For evident reasons of machining accuracy it is essential that this mathematical model of the machine tool is as close as possible to the real system, and hence reduces to a minimum all errors resulting from any difference between the position and orientation of the tool relative to the workpiece, as calculated from the mathematical model, and its real position.

[0020] Such errors are the result of errors in the mathematical model, which describes all the relative positions of all the component elements of the ring as heretofore described. In the particular case of a machine tool with three axes, these errors are due to:

[0021] errors between the workpiece surface and the surface of the worktable,

[0022] errors between the workpiece surface and the fixed reference system at the foundations,

[0023] errors between the reference system and the movable structure of the first axis,

[0024] errors between the movable structure of the first axis and the movable part of the second axis,

[0025] errors between the movable structure of the second axis and the movable structure of the third axis,

[0026] errors between the movable structure of the third axis and the head structure,

[0027] errors between the head and the spindle bush,

[0028] errors between the spindle bush and the tool cutting edge.

[0029] As the mathematical model of a machine tool is evidently more faithful the smaller the errors between the tool position indicated by the mathematical model and its real position, it is important that the parametric mathematical model contains, as far as possible, all the quantities and parameters which describe the position of the tool relative to the workpiece.

[0030] However, the more complicated the parametric mathematical model, the more difficult it is to define its parameter values and the more difficult it is to attain the desired precision.

[0031] In particular, identifying the mathematical model of the machine requires the use of instruments of various types (laser interferometers, electronic levels, etc.) which require continuous manual repositioning within the working field, with considerable time consumption.

[0032] Moreover the known correction systems do not enable the orientation of the final machine member to be corrected in relation to the errors provided by the mathematical model.

[0033] An object of the invention is to propose a method which enables values as correct as possible to be automatically defined for the parameters of the mathematical model of a machine tool, in order to obtain a mathematical model in which the difference between the position and orientation of the tool relative to the workpiece as provided by the mathematical model, and the real position and orientation within the working field, is a minimum.

[0034] Another object of the invention is to implement correction of the position of the tool relative to the workpiece.

[0035] Another object of the invention is to implement correction of the orientation of the tool in relation to the workpiece, if the machine is provided with axes suitable to effect this correction, this being achieved by utilizing the difference between the orientation provided by the theoretical model and the orientation provided by the mathematical model.

[0036] Another object of the invention is to propose an apparatus for implementing the method.

[0037] These and other objects which will be apparent from the ensuing description are attained, according to the invention, by a method for correcting the systematic errors in measurement machines and in manufacturing machines, in particular in machine tools, as described in claim 1

[0038] The invention also foresees an apparatus for implementing the method as described in claim 7.

[0039] Two preferred practical embodiments of the invention are described in detail hereinafter with reference to the accompanying drawings, in which:

[0040]FIG. 1 is a general perspective view of a machine tool equipped with an apparatus for implementing the method of the invention,

[0041]FIG. 2 is a side view of the calibration laser of the apparatus according to the invention,

[0042]FIG. 3 is a plan view thereof on the line III-III of FIG. 2,

[0043]FIG. 4 shows the laser reflector applied to the tool spindle of the machine tool,

[0044]FIG. 5 shows schematically the system for pursuing said reflector,

[0045]FIG. 6 is a longitudinal section through the triaxial laser of the apparatus according to the invention,

[0046]FIG. 7 is a cross-section therethrough on the line VII-VII of FIG. 6,

[0047]FIG. 8 shows the schematic block diagram of the apparatus of the invention,

[0048]FIG. 9 shows the interface, taken on the line IX-IX of FIG. 10, between the machine and the support accessory for its final member,

[0049]FIG. 10 is a partly sectioned side view thereof,

[0050]FIG. 11 shows schematically the device for automatically fixing the accessory to the machine,

[0051]FIG. 12 is an enlarged section on the line XII-XII of FIG. 13 showing a detail of the device for centering the accessory on the machine, and

[0052]FIG. 13 is a section on the line XIII-XIII of FIG. 12.

[0053] Before describing embodiments of the invention in detail, some definitions used during the course of the description will be given.

[0054] The term “machine” means a measurement machine or a manufacturing machine, which can be a machine tool or a manipulator.

[0055] The term “final machine member” means the member which is moved into all the positions and in all the directions corresponding to the degrees of freedom of the machine. In the case of a machine tool the final member is the tool or the tool holder head; in the case of a measurement machine it is the feeler; and in the case of a manipulator it is the gripper.

[0056] The term “dependent variables” means the coordinates and the angles of orientation of the final machine member in relation to the reference system used.

[0057] The term “independent variables” means the coordinates along the degrees of freedom of the machine, measured by the relative transducers, and the dimensional characteristics of the final member and other independent quantities (temperature, pressure, unitary loads) which influence the position of the final member and are measured by other specific transducers.

[0058] The term “parametric mathematical model” of the machine means the complex of relationships which link the independent variables to the dependent variables and to constant values not yet determined, but characteristic of the machine.

[0059] The term “parameters” means those constant values not yet determined, which characterise the relationships of the parametric mathematical model of the machine.

[0060] The term “mathematical model” of the machine means the parametric mathematical model after determining the parameters, i.e. after the parameters have been assigned the numerical values characteristic of the particular machine.

[0061] The term “particular mathematical model” means a mathematical model of a machine in which the tool has well defined dimensions.

[0062] The term “provisional mathematical model” of the machine means the mathematical model in which the parameters have been assigned provisional values.

[0063] The term “inaccuracy index” means an expression which is a function of all the measured errors (for example maximum error, standard deviation, etc.) and signifies the machine inaccuracy.

[0064] The method of the invention provides for carrying out the following operative steps in succession:

[0065] Definition of the Parametric Mathematical Model

[0066] A first step in the method of the invention provides for identifying for the machine that parametric mathematical model which is the most faithful possible, and which supplies the tool coordinates and possibly its orientation, on the basis of the position of the axes, the tool dimensions and the parameters.

[0067] Further independent variables represented by physical quantities such as temperatures and loads able to influence the tool position are then introduced into the parametric mathematical model.

[0068] Having defined the parametric mathematical model in the aforedescribed form, the invention provides for executing a plurality of mutually independent distance measurements between positions assumed by the tool within the working field. The distance measurements can include measurements of distance from a known geometrical spot, such as a sphere with different tool lengths and different orientations of the double rotatable head. The distance measurements are memorized.

[0069] Starting from a provisional mathematical model, the invention then provides for using the experimentally measured distance values and the corresponding distance values provided by said provisional mathematical model to obtain the best values to assign to the parameters in order to identify the mathematical model of the machine.

[0070] In particular the invention provides for:

[0071] initially assigning to said parameters numerical values considered close to the effective values, to obtain a provisional mathematical model for the machine,

[0072] determining the differences between the experimentally measured distance values and the corresponding distance values deduced from said provisional mathematical model, to define the corresponding machine inaccuracy index,

[0073] varying said machine parameters in the sense of reducing the value of its predefined inaccuracy index,

[0074] proceeding with successive iterations until said parameter variations do not determine any further significant reduction in said inaccuracy index.

[0075] In order to further reduce said inaccuracy index the invention provides for augmenting said distance measurements with further measurements of real distances of a point on the final machine member from a predetermined geometrical spot physically present on the machine, and then comparing these further real distance measurements with those deduced from the provisional mathematical model.

[0076] Diagnosis

[0077] The values assigned to the parameters during the machine calibration step indicate the machine behaviour and hence provide useful information on the acceptability of the operating conditions.

[0078] Certification

[0079] The measurements effected within the machine working field for identifying the mathematical model also have the function of supplying the effective degree of machine precision achieved during the machining of the workpiece.

[0080] Correction

[0081] During machine operation, the tool position is deduced from the mathematical model identified in the calibration step and consequently the positioning precision becomes that of the mathematical model. On the basis of the tool position and orientation supplied by the mathematical model and by the position and orientation supplied by the theoretical model, the machine axes are corrected such that the tool position and orientation are as required.

[0082] To implement the method of the invention, distance measurements must be effected automatically between the different positions assumed by the tool within the machine working field, also using tools of different dimensions, then memorizing these measurements together with the axis coordinates and the other independent variables.

[0083] For this purpose the invention proposes to use two different apparatus, namely for effecting length or distance measurements and for effecting repeatability measurements.

[0084] The apparatus for effecting distance measurements consists of a fixed position laser interferometer and a laser reflector fixed to the tool spindle or to another movable part of the machine.

[0085]FIG. 1 shows overall a machine tool 2, to which the laser interferometer and the laser reflector are applied. More specifically, the laser interferometer of orientatable beam type, shown in FIGS. 2 and 3, comprises a laser source 4 mounted on the base 6 of a structure 8, provided also with a plate 10 which supports the orientation complex for a mirror 12. The plate 10 supports on bearings a fork element 14, the shank of which is driven by a first electric motor 16 provided with a rotation transducer (encoder) 18.

[0086] The two arms of the fork element 14 support, via bearings, a shaft 20 on which the mirror 12 is mounted to face the laser source 4. A second electric motor 22 is coupled to the shaft 20 to rotate it, a transducer 24 (encoder) measuring its rotations.

[0087] Four photodiodes 30 (see FIG. 5) are applied in four positions 90° apart to an annular element 26 surrounding the exit of the laser beam 28 from the source 4, and are connected to the electronic apparatus 32 which feeds the command signal to two amplifiers 34, 36 controlling the two electric motors 16, 22 respectively.

[0088] Instead of four sensors more could be used, for example eight in order to obtain greater precision in correcting the orientation of the laser beam.

[0089] The laser reflector consists essentially of a cube-vertexed catadioptric reflector 38, which has the known property of reflecting an incident beam 28 in a direction parallel to itself, while the incident angle is contained within a cone with an opening angle of about 35° to the axis of the reflector 38.

[0090] To effect the distance measurements, i.e. to define the real positions of the final machine member, in the specific case of the tool of a machine tool 2, the structure 8 is positioned in a fixed position relative to the base 40 of said machine, the reflector 38 is applied to the tool or to the tool spindle 42, and the laser beam 28 emitted by the source 4 and reflected by the mirror 12 is made to strike the reflector 38 and be reflected rearwards by the mirror 12 and into the interior of the annular element supporting the photodiodes 30.

[0091] Once the spindle 42 of the machine tool 2 has been “linked” in this manner to the calibration laser, it remains always linked to it, by virtue of the apparatus software which processes the signals originating from the photodiodes 30 sensitized by the laser beam reflected by the reflector 38 and deviated by the mirror 12, and transforms them into signals which control the two motors 16 and 22, such as to return the reflected beam into the interior of the annular element 26.

[0092] In this manner, the laser interferometer is able to effect distance measurements between pairs of positions successively occupied by the reflector 38, and hence by the tool of the machine, following successive movements of the tool under the control of the numerical control system along one and the same direction, without any operator intervention.

[0093] On termination of this series of measurements the apparatus orientates the laser beam differently so that it always maintains the tool linked to itself, and executes a new series of distance measurements along a new direction programmed by the numerical control system.

[0094] After a first series of distance measurements in accordance with several orientations, the position and orientation of the calibration laser are completely identified, with reference to the positions assumed by the axes, and are transmitted by the numerical control system to the apparatus, which is able to orientate the mirror 12 with the necessary angles, by closed-cycle control of the motors of the encoders of the two axes.

[0095] It should be noted that possible small orientation errors, corresponding to a few millimetres on the reflector 38, do not influence the distance when this is of the order of at least one metre.

[0096] On termination of these distance measurements along all the programmed directions, the structure 8 can be moved manually and the same operations repeated in order to acquire further distance measurement data in one or more directions. With these data the apparatus is able to effect comparisons between the real distances supplied by the laser interferometer and the corresponding theoretical distances supplied by the numerical control system, and then proceed to identify the mathematical model for the machine.

[0097] The second apparatus of the invention is particularly suitable for modelling the double rotatable heads, i.e. for determining the characteristic parameters such that the final point can repeat the same position with maximum precision as the head assumes all possible orientations.

[0098] It consists of a triaxial sensor able to effect repeatability measurements in different positions with a tool of spherical shape, always returned to the same position for different orientations of the tool spindle, indicating the three error components in the three directions of the coordinate axes.

[0099] The triaxial sensor of the apparatus according to the invention (see FIGS. 6 and 7) comprises a support 44 supporting a rotary shaft 46 driven by an electric motor 48 able to move it into two separate positions 180° apart when a key 50, rigid with said shaft 46, interferes with one or other of two stops 52, 54 rigid with a sleeve 56 fixed to the shaft.

[0100] The ability to assume two different orientations enables interference with the sphere and with its supporting shaft to be avoided.

[0101] The principle of operation of the described triaxial sensor is based on the aim of determining the distance between a point on the tool (for example the centre of a sphere 58 representative of the tool) and a point in space, defined by three proximity sensors 60 disposed in the three spatial directions. The sense of this determination is linked to the fact that if a point on the tool has to reach the machined workpiece from different directions and with different orientations, its centre must always return to the same position represented by the centre of the sphere 58.

[0102] In the ideal case this centre of the sphere 58 must coincide with that point in space defined by the three proximity sensors 60, whereas in reality this does not happen because of the errors introduced by the machine.

[0103] For this reason it is necessary to create a mathematical model, not only of the machine but also of the double rotational head, which takes account of the errors introduced in practice, this model being created starting from a parametric mathematical model in which the values of the parameters are fixed during the calibration step.

[0104] To achieve this, the sphere 58 is made to approach the three proximity sensors 60 while trying to make its centre coincide with the point in space determined by these.

[0105] The positioning of the sphere at the same point is then repeated, but with different angles of the head axes, while memorizing at each positioning the position error supplied by the three sensors 60.

[0106] The measurement is obtained by averaging the two measurements with the spindle 42 in two positions at 180° apart, so that the measurement is not influenced by the form errors of the spindle and sphere support.

[0107] The measurement is repeated with different combinations of head angles and is then repeated with a different tool length, so that the measurements are not influenced by the position of the axis of rotation of the spindle 42.

[0108] The same procedure could be followed if the geometrical spot, with respect to which the distance from a point on the tool has to be measured, is for example a plane instead of an ideal point in space. For this purpose a real plane of the machine could be used and the distance of the tool therefrom measured by applying a proximity sensor to the tool holder and effecting a series of distance measurements with different tool positions and orientations.

[0109] As stated, the total of effected measurements and processings enables automatic determination of the correct parameters which identify the mathematical model for the machine, together with an inaccuracy index therefor. And as the machine is able to automatically determine its inaccuracy index it can be stated that the method and apparatus of the invention enable the machine to self-certify its quality.

[0110] During the calibration step, the electronic apparatus, represented in FIG. 8, receives data from the calibration laser, from the triaxial sensor and from the numerical control system in such a manner as to identify the mathematical model.

[0111] During machine operation, the electronic apparatus feeds to the numerical control system, on the basis of the position of the axes, which represent the required positions of the tool by means of the machine theoretical model, and on the basis of any physical quantities, those corrections to be made to the machine axes to obtain the desired position and possibly also the desired orientation of the tool.

[0112] Given the machine mathematical model:

X ₁ =f ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

X ₂ =f ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

X ₃ =f ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

α₁ =g ₁(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

α₂ =g ₂(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

α₃ =g ₃(C ₁ ,C ₂ , . . . C _(i) , . . . C _(n) ,V ₁ ,V ₂ , . . . V _(i) , . . . V _(l) ,U,V,W)

[0113] and the machine theoretical model which is represented as follows:

Xa ₁ =fa ₁(C₁ ,C ₂ ,C _(i) , . . . C _(n))

Xa ₂ =fa ₂(C₁ ,C ₂ ,C _(i) , . . . C _(n))

Xa ₃ =fa ₃(C₁ ,C ₂ ,C _(i) , . . . C _(n))

αa ₁ =ga ₁(C₁ ,C ₂ ,C _(i) , . . . C _(n))

αa ₂ =ga ₂(C₁ ,C ₂ ,C _(i) , . . . C _(n))

αa ₃ =ga ₃(C₁ ,C ₂ ,C _(i) , . . . C _(n))

[0114] the magnitude of the position corrections to feed to the numerical control system are given by the differences

ex ₁ =X ₁ −Xa ₁

ex ₂ =X ₂ −Xa ₂

ex ₃ =X ₃ −Xa ₃

eα ₁=α₁ −αa ₁

eα ₂=α₂ −αa ₂

eα ₃=α₃ −αa ₃

[0115] which are achieved in the numerical control system, by manipulating the axes in accordance with the theoretical mathematical model, given that the errors in the magnitude of the correction are negligible.

[0116] If the tool orientation is to be corrected, the machine must allow manipulations able to modify the tool orientation, which can be achieved via the same axes as the double rotational head, with which the machine is already provided, or via supplementary axes, added precisely to achieve said correction.

[0117]FIG. 9 shows the saddle of a milling machine with movable column, provided with four devices for automatically fixing the support head 62 for the spindle 42 and two conical positioning pegs 64.

[0118]FIG. 10 is a side view of the automatic fixing devices for the accessories.

[0119]FIG. 11 shows a possible embodiment of the automatic fixing devices for the head 62.

[0120] Each automatic fixing device comprises a locking gripper 66, of traditional type, operated by a piston 68 slidable within a cylindrical seat 70 provided within the part 72 by which the fixing device is securely applied to the saddle 74 of the machine tool. The locking gripper 66 of each fixing device cooperates with a stem, also of traditional type, applied to the support head 62 for the spindle 42.

[0121] The part 72 of each fixing device extends beyond that surface of the saddle 74 facing the head 62 with an annular portion 78 deformable by compression following traction exerted on it by the fixing device when the operative fluid is fed is under pressure into the cylinders 70.

[0122] By this ability of the portion 78 of each fixing device to deform by compression, the size of the gap 80 between the face of the saddle 74 and the support head 62 for the tool spindle 42, and consequently the position of the bearing point 82 of said head 62, can be varied.

[0123] From the required orientation of the head 62 for the spindle 42, the yielding necessary at the position of the bearing point of each of the four fixing devices for its support head 62 can be determined, with consequent determination of the pressures necessary in the four cylinders 70.

[0124] The solution presented by FIGS. 9, 10 and 11 enables the orientation of the head 62 to be modified by rotations □₁ and □₃ about the x and z axes, without appreciable errors in the position of the head 62 with respect to the saddle, provided the conicity of the conical pegs is sufficiently small.

[0125] If it is required to also introduce the rotation α₂, this is certainly possible seeing that the saddle fixing position has three degrees of freedom, hence having utilized the two rotations of the base of the head, there remains the possibility of utilizing the head translation to achieve the remaining rotation. This can be effected by transforming the translations along the y axis into a rotation about the same axis with a cam.

[0126]FIG. 12 shows the saddle 74, to which two conical pegs 64 are fixed. To each of the conical pegs there is coupled a bush 86, which rests against the conical peg in its upper part, whereas in its lower part it is opposed by an element 88 urged by a spring 90 of suitable force to ensure its resting on the other side. FIG. 13 shows the two conical pegs 64, in which one of the two elements 88 is directed downwards and the other is directed upwards. In this manner it is apparent that for an overall translation of the head 62 its rotation about the y axis is obtained. The presented solution enables the head 62 to be orientated during the finishing operations, whereas during roughing operations the head 62 is brought to bear on the surface of the saddle 74 with adequate fixing device force.

[0127] The feed pressure is piloted by a proportional pressure reducing valve 92, whereas the effective position of the head 62 in relation to the surface of the saddle 74 is controlled by proximity sensors 94.

[0128] If the orientation correction device is present in the machine, the correction step provides for executing the following operations in the given order.

[0129] 1. On the basis of the tool orientation supplied by the mathematical model, and of the desired theoretical orientation, the necessary orientation corrections to be effected on the correction device are calculated and these corrections are made.

eα ₁=α₁ −αa ₁

eα ₂=α₂ −αa ₂

eα ₃=α₃ −αa ₃

[0130] 2. On the basis of the tool position supplied by the mathematical model, and of the theoretical position, the position corrections for the axes are calculated.

ex ₁ =X ₁ −Xa ₁

ex ₂ =X ₂ −Xa ₂

ex ₃ =X ₃ −Xa ₃

[0131] 3. The translations induced by the orientation corrections on the tool are calculated on the basis of the distances X, Y, Z between the axes of rotation of the corrections and of the tool position.

ΔX ₁ =Y*eα ₃ −Z*eα ₂

ΔX ₂ =Z*eα ₁ −X*eα ₃

ΔX ₃ =X*eα ₂ −Y*eα ₁

[0132] 4. The positions of the axes are corrected taking account of the translations induced by the orientation corrections.

ex ₁ =X ₁ −Xa ₁ −ΔX ₁

eX ₂ =X ₂ −Xa ₂ −ΔX ₂

eX ₃ =X ₃ −Xa ₃ −ΔX ₃

[0133] If it is desired to make the acquisition of distance measurements in the various positions assumed by the laser interferometer of orientatable beam type even more automatic, the machine itself can be used to transport the laser from one position to the other, using for example the tool automatic locking device.

[0134] It is advisable that the number of measurements made for identifying the mathematical model be sufficiently high, and able to discriminate all the causes of error present in the model.

[0135] Moreover, to identify the mathematical model, which is a function of the tool dimensions U,V,W, distance measurements must be made with at least three separate tools, of different dimensions, which are not a linear combination of the other two, unless the rotations α₁, α₂, α₃ are so small that the dimensions U,V,W produce only a translation of the tool centre.

[0136] If modelling a hexapod, in which the rotations of the final member are not negligible, measurement with different dimensions of the final member is instead necessary. 

1-23. Cancelled
 24. A method for automatically correcting the systematic errors in measurement machines and in manufacturing machines, in particular in machine tools, comprising the following operative steps in succession: identifying the parametric mathematical model of the machine, initially assigning, to the parameters of said parametric mathematical model, numerical values considered to be close to the effective values, to obtain a provisional mathematical model of the machine, effecting a plurality of mutually independent distance measurements in whatever direction within the working field of the machine, determining the differences between the experimentally measured distance values and the corresponding distance values deduced from said provisional mathematical model, to define the corresponding provisional inaccuracy index of the machine, varying said parameters in the sense of improving the predefined provisional inaccuracy index, to hence obtain a new provisional mathematical model of the machine which is closer to its definitive mathematical model, if the new inaccuracy index so obtained is not satisfactory, proceeding iteratively with new determinations of the difference between these and the corresponding values deduced from the mathematical model until said parameter variations do not produce any further significant improvement in said inaccuracy index, to hence obtain the definitive mathematical model of the machine, obtaining from said mathematical model the position and possibly orientation errors of the final machine member, and utilizing the error data to execute the correction.
 25. A method as claimed in claim 24, further comprising defining said provisional inaccuracy index of the machine as maximum value among all of said differences and by varying said parameters in the sense of annulling them.
 26. A method as claimed in claim 24, further comprising effecting said distance measurements between separate positions assumed by the final machine member, using a laser interferometer.
 27. A method as claimed in claim 26 further comprising effecting the distance measurements using a laser interferometer of automatically orientatable type.
 28. A method as claimed in claim 27, further comprising effecting the distance measurements using a laser interferometer of automatically orientatable type towards a reflector fixed to the final machine member.
 29. A method as claimed in claim 24, further comprising effecting said distance measurements between a point on the final machine member and a predetermined geometrical spot.
 30. A method as claimed in claim 24, further comprising effecting distance measurements from a fixed point representative of the final machine member, in three mutually perpendicular directions.
 31. An apparatus for implementing the method claimed in claim 24, further comprising: measurement means, associated with the machine, for effecting distance measurements in whatever direction under different machine operating conditions, a processing unit provided with means for assigning numerical values to said parameters of a parametric mathematical model, means for determining distances using said mathematical model, means for comparing the distance values determined in this manner with the experimentally measured distance values, and means for transmitting the error data from said comparison means to the numerical control system and to the machine.
 32. An apparatus as claimed in claim 31 further comprising: a reflector applied to the final member of the machine, a laser interferometer, the beam of which is automatically orientatable towards the reflector, processing means, which during the distance measurement step orientate the laser beam towards the reflector, during the mathematical model identification step assign the best values to the parameters, and during the correction step acquire the error data and transmit them to the numerical control system.
 33. An apparatus as claimed in claim 32 further comprising a mirror facing the interferometer, to reflect the beam emitted thereby, towards the reflector and to also reflect towards said laser interferometer the beam reflected by said reflector, with said mirror there being associated means for its manipulation in the sense of ensuring that the reflected beam originating from said reflector strikes said laser interferometer independently of the position of said reflector.
 34. An apparatus as claimed in claim 33 wherein the mirror is supported by a support with two mutually perpendicular rotating arms connected to respective actuators operated under the control of sensors associated with said laser interferometer.
 35. An apparatus as claimed in claim 34, wherein each of said actuators consists of an electric motor provided with an angular transducer and controlled by said sensors, which are located on an annular element provided in said interferometer in a position surrounding the exit of said laser beam.
 36. An apparatus as claimed in claim 31, further comprising a triaxial device for measuring distance from a fixed point.
 37. An apparatus as claimed in claim 36, wherein said triaxial device comprises a sphere fixed in place of the final machine member, and three fixed sensors which measure the distance from said sphere in the three directions of said sensors.
 38. An apparatus as claimed in claim 36, wherein said triaxial device comprises a fixed sphere and three sensors fixed in place of the final machine member, to measure the distance from said sphere in the three directions of said sensors.
 39. An apparatus as claimed in claim 36, wherein the three sensors are rotary and of type suitable to each assume at least two separate positions.
 40. An apparatus as claimed in claim 31, further comprising, for correcting the orientation of the final machine member, means consisting of the said devices for fixing the support head for said final member to the machine saddle.
 41. An apparatus as claimed in claim 40, further comprising, in addition to said fixing devices, at least one conical peg for positioning said head.
 42. An apparatus as claimed in claim 40, wherein each fixing device is mounted on the machine saddle and comprises a locking gripper cooperating with a stem fixed to the support head for the final machine member, said locking gripper being associated with a hydraulic piston able to exert on command an axial traction on said stem, acting against a deformable part present between said saddle and said head.
 43. An apparatus as claimed in claim 42, wherein sensors are interposed between the saddle and the support head for the final machine member, for monitoring their mutual position.
 44. An apparatus as claimed in claim 43, further comprising several individually controllable fixing devices exerting different tractions on the corresponding stems such as to induce rotations of said head with respect to said saddle about mutually perpendicular axes parallel to the surface of said saddle facing said head.
 45. An apparatus as claimed in claim 41, wherein with the conical seat housing said conical peg there is associated a pusher acting on the lateral conical surface of said peg to ensure stability of the connection independently of its axial position in the respective seat.
 46. An apparatus as claimed in claim 45, wherein elastic means are associated with said pusher to maintain it adhering to said conical peg.
 47. An apparatus as claimed in claim 45, further comprising two spaced-apart conical pegs each provided, in its respective housing seat, with a pusher acting in the opposite direction to the other peg to induce, on the basis of the axial position of each peg in its respective seat, a rotation of said head with respect to said saddle about an axis perpendicular to that surface of said saddle facing the head. 